package com.lovo.game.imp;

import com.lovo.game.Attack;
import com.lovo.game.Treat;

/**
 * 农民
 */
public class Farmer extends Role implements Attack, Treat {

    public Farmer() {
    }

    public Farmer(String name, int level) {
        super(name, level);
    }

    @Override
    public void attack() {
        System.out.println(getName() + "攻击");
    }

    @Override
    public void treat() {
        System.out.println(getName() + "治疗");
    }

    /**
     * 采矿
     */
    public void mine() {
        System.out.println(getName() + "挖矿");
    }
}
